<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>argn</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : April 1993</div>
    <p>
      <b>argn</b> -  number of arguments in a function call</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>[lhs [,rhs] ]=argn()  </tt>
      </dd>
      <dd>
        <tt>lhs=argn(1)  </tt>
      </dd>
      <dd>
        <tt>rhs=argn(2)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
    This function is used inside a function definition.
    It gives the number of actual inputs <tt>
        <b>rhs</b>
      </tt>
    and output <tt>
        <b>lhs</b>
      </tt> parameters passed to the function when the function is 
    called. It is usually used in function definitions to deal with 
    optional arguments.</p>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="function.htm">
        <tt>
          <b>function</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="varargin.htm">
        <tt>
          <b>varargin</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
